package com.yc.navy.goods;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

@SpringBootApplication
@ServletComponentScan
@MapperScan("com.yc.navy.goods.mapper")
@EnableEurekaClient
@EnableRedisHttpSession
@EnableFeignClients(basePackages = {"com.yc.navy.goods.feign","com.yc.navy.goods.product.feign"})
public class StartShopOrderApplication {
	public static void main(String[] args) {
		SpringApplication.run(StartShopOrderApplication.class, args);
	}
}
